package org.unicat.serviceedu.entity.subject;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value = "一级分类")
public class OneSubject {
    private String id;
    private String title;

    // 一个一级分类对应多个二级分类
    private List<TwoSubject> children = new ArrayList<>();


}
